﻿namespace Core.Identity.Roles.Dtos;

/// <summary>
/// 角色信息
/// </summary>
public class RoleDto
{
    /// <summary>
    /// 主键
    /// </summary>
    public Guid Id { get; set; }
    /// <summary>
    /// 编码
    /// </summary>
    public string? Code { get;  set; } 
    /// <summary>
    /// 名称
    /// </summary>
    public string? Name { get;  set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTimeOffset? Created { get; set; }
    /// <summary>
    /// 设置排序
    /// </summary>
    public virtual int? Sort { get; set; }

    /// <summary>
    /// 设置描述
    /// </summary>
    public virtual string? Description { get; set; }

    /// <summary>
    /// 设置启用/禁用
    /// </summary>
    public virtual bool? Enabled { get; set; }
}
